﻿
namespace ConsoleApp5
{

    internal class Program
    {

        static void Main(string[] args)
        {
            TestEventDemo testEventDemo = new TestEventDemo();

            testEventDemo.TestEvent += TestEventDemo_TestEvent;
            testEventDemo.Test();
            Console.Read();
        }

        private static void TestEventDemo_TestEvent()
        {
            Console.WriteLine("ces");
        }
    }
}
